<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
    <li th:if="${#lists.isEmpty(dataMap['list'])}">
        <section class="no-data__wrap">
            <em>&nbsp;</em>
            <p>还没有评价呢，快来抢沙发吧</p>
        </section>
    </li>
    <input type="hidden" id="totalPages" th:value="${dataMap['pages']}"/>
    <input type="hidden" id="currentPage" th:value="${dataMap['pageNum']}"/>
    <script th:inline="javascript" type="text/javascript">
        var count = [[${dataMap['total']}]]
    </script>
    <li th:if="!${#lists.isEmpty(dataMap['list'])}" th:each="comment : ${dataMap['list']}" class="card-header">
        <section class="pull-right">
            <aside class="start-comment__wrap">
                <span th:each="index : ${#numbers.sequence(1,comment['multiple'])}" class="start-p active"><em class="icon icon-star"></em></span>
                <span th:if="${comment['multiple']} < 5" th:each="index : ${#numbers.sequence(1,5 - comment['multiple'])}" class="start-p"><em class="icon icon-star"></em></span>
            </aside>
        </section>
        <div class="facebook-avatar mr5">
            <img class="wm-img list-block-userface" th:attrappend="data-src=${comment['user']['avatar']}" th:src="@{{path}/front/mobile/v3/img/default/default-face.jpg(path=${staticPath})}" width="42" height="42"/>
        </div>
        <div class="facebook-name c-blue fs6" th:text="${comment['user']['nickname']}"><sapn>章节：</sapn><span th:text="${comment['catalog']}!=null?${comment['catalog']['catalogName']}:'-'"></span></div>
        <div class="facebook-date c-bbb fs4" style="margin-left: 1.7rem;" th:text="${#strings.substring(comment['createTime'],0,16)}">    <sapn>章节：</sapn><span th:text="${comment['catalog']}!=null?${comment['catalog']['catalogName']}:'-'"></span></div>
        <div class="wm-comment-list__wrap" style="margin-left: 2.2rem;">
            <div class="fs7 c-333" th:utext="${comment['comment']}">
            </div>
        </div>
    </li>
</html>